﻿using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Acme.BookStore2
{
    public interface IVehicleAppService : IApplicationService
    {
        Task<VehicleDto> GetAsync(Guid id);
        Task<PagedResultDto<VehicleDto>> GetPagedListAsync(GetVehiclesInput input);
        Task<VehicleDto> CreateAsync(VehicleCreateDto input);
        Task<VehicleDto> UpdateAsync(Guid id, VehicleUpdateDto input);
        Task DeleteAsync(Guid id);
        Task ExportAsync(GetVehiclesInput input);
        Task<VehicleDto> SetMaintenanceAsync(Guid id, SetMaintenanceInput input);
    }
}